<form class="layui-form">
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">题目类型</label>
        <div class="layui-input-block">
            <select id="s_question_type" class="layui-input" style="width:230px;display:block;">
                <option value="">请选择</option>
                <option value="0" th:if="${data.question_type eq '0'}" th:selected="selected">单选题</option>
                <option value="1" th:if="${data.question_type eq '1'}" th:selected="selected">多选题</option>
                <option value="2" th:if="${data.question_type eq '2'}" th:selected="selected">填空题</option>
                <option value="3" th:if="${data.question_type eq '3'}" th:selected="selected">应用题</option>
                <option value="4" th:if="${data.question_type eq '4'}" th:selected="selected">作文题</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">题目标题</label>
        <div class="layui-input-block">
            <input type="hidden" id="question_bank_id" th:value="${data.question_bank_id}">
            <textarea id="s_question_title" style="width:450px;height:220px;line-height:20px;padding-top: 5px;"
                      class="layui-input" rows="3" cols="20" th:text="${data.question_title}"></textarea>
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">备选答案</label>
        <div class="layui-input-block">
            <textarea id="s_question_choice" style="width:450px;height:220px;line-height:20px;padding-top: 5px;"
                      class="layui-input" rows="3" cols="20" th:text="${data.question_choice}"></textarea>
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">正确答案</label>
        <div class="layui-input-block">
            <input type="text" id="s_right_key" placeholder="请输入" autocomplete="off" th:value="${data.right_key}"
                   class="layui-input" style="width:230px;">
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">题目分数</label>
        <div class="layui-input-block">
            <input type="text" id="s_fraction" placeholder="请输入" autocomplete="off" th:value="${data.fraction}"
                   class="layui-input" style="width:230px;">
        </div>
    </div>
</form>